import math
n = (math.cos(30 * 3.14 / 180) + 1) / (math.cos(60 * 3.14 / 180) + 1)
print(n)